home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 8542 / 8542.xpi / chrome / lastpass.jar / content / grid.xul < prev    next >
Extensible Markup Language  |  2010-02-14  |  3KB  |  57 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
  3. <!DOCTYPE dialog SYSTEM "chrome://lastpass/locale/lastpass.dtd">
  4.  
  5. <dialog id="LPGrid"
  6.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  7.         onload="window_load(document, window);"
  8.         buttons=","
  9.         ondialogaccept="return lpgridaccept(document,window);"
  10.         ondialogcancel="lpgridcancel(document,window);return true;"
  11.         >
  12.     
  13.     <script type="application/x-javascript" src="chrome://lastpass/content/getlp.js" />
  14.     <script type="application/x-javascript" src="chrome://lastpass/content/grid.js" />
  15.     
  16.     <vbox align="center" >
  17.         <hbox align="center">
  18.             <image src="chrome://lastpass/skin/spreadsheet.png" width="128" height="128"/>
  19.             <spacer width="15"/>
  20.             <hbox style="background-color:#eeeeee;">
  21.                 <label width="30"/>
  22.                 <vbox align="left">
  23.                     <label height="15"/>
  24.                     <label id="lpgrid1" height="30"/>
  25.                 </vbox>
  26.                 <label width="30"/>
  27.             </hbox>
  28.         </hbox>
  29.         <spacer height="15"/>
  30.         <hbox align="center">
  31.             <image src="chrome://lastpass/skin/icon.gif" />
  32.             <label id='grid1label'/>
  33.             <textbox type="password" id="lpgridinput1" width="25" value="" onkeyup="document.getElementById('lpgridinput2').focus()"/>
  34.              <label id='grid2label'/>
  35.             <textbox type="password" id="lpgridinput2" width="25" value="" onkeyup="document.getElementById('lpgridinput3').focus()"/>
  36.              <label id='grid3label'/>
  37.             <textbox type="password" id="lpgridinput3" width="25" value="" onkeyup="document.getElementById('lpgridinput4').focus()"/>
  38.              <label id='grid4label'/>
  39.             <textbox type="password" id="lpgridinput4" width="25" value="" onkeyup="document.getElementById('lpbutton').focus()"/>
  40.              <button id="lpbutton" oncommand="if(lpgridaccept(document,window))acceptDialog();"/>
  41.         </hbox>
  42.         <spacer height="15"/>
  43.         <vbox>
  44.             <hbox>
  45.                 <checkbox id="lptrust" oncommand="document.getElementById('labelhbox').hidden=false;"/>
  46.             </hbox>
  47.             <hbox id="labelhbox" hidden="true">
  48.                 <label id="lplabeltext"/><textbox id="trustlabel"/>
  49.             </hbox>
  50.         </vbox>
  51.         <spacer height="15"/>
  52.         <label id="lpgridlost" class="text-link" onclick="lpgridlost();cancelDialog();"/>
  53.         <spacer height="30"/>
  54.     </vbox>
  55.     
  56. </dialog>
  57.